package concrete;

import framework.*;
import java.util.*;

public class ConcreteFactory extends Factory {
    private List<Product> productManager;

    protected Product createProduct(String owner) {
        for (Product product : productManager) {
            if(((ConcreteProduct)product).owner.equals(owner)) return product;
        }
        return new ConcreteProduct(owner);
    }
    protected void registerProduct(Product product) {
    	
    }
}